added validation
added validations