controller code to model