got the schema working