changed tally class