modified validation system