schema is now part of model