removing totaling code till it can be refactored