Use metamethod to clean up tally.lua