modified schema for production