integrate finding the most similar friend to the CLI