using the schema instead of db.get(collection)