made tally reponse more efficient with || conditional