Changed ExerciseMaterial from (accidental) Integer to int 
for simplicity