add total amount