WIP: Scan based filtering