add support for term filter