trying to add schema validation