fixed return in getExercises