adding an advanced mode to the filter