added default value for minExercise