add validation to pass the tests and i  modified the schema