Add tally and timer functions