initial version of the filter