changes to schema and output