Edit method "type" according to teacher's note