Prepared controller and model