added validations of presence