updated finishWorkout method