implement create method