have done the create method (schedule controller)