prepared controller