improving manual tally command
improving input data handling