implemented exercising with amount