make tally work