change call to validate()