added schema.get function