move find_matches into boardhelper