changed de validation way in the create method