finished basic tally class