scan filter functionality