added validations
added validations