define filter as service