Total_amount to total