trying to create the filter layer