made metadata lookup specific to schema