dynamically calculate TST_TOTAL rather than hardcoding it
3 files changed