generated degrees model and controller