How to choose friends