Defined the create action