added patch filter