added metadata pools support