modifying validate()