computing totals
added history