move filters to an external library