filter mechanism refined