Add preliminary filtering