add explanation to schema function