add total amount temp