added tallies functionality to v0 and v1
added tallies functionality to v3 and v4