fixed tally bug; added (re)tally command