added ability to add total