working handle filtering for matches