start to build the filter