added metadata filter