if we put in an if statement with the algo this will filter for matches