changes for validation

changes for validation