added comments for validations