added Error Messages to validate method