added tally class