added debug messaged to Validation