solve ControllerAssignment1