Implemented new version of FrameFilter