corrected for validation