doing controller and create method