move total amout to total_charge method