Add tally caching