findBestMatch implemented