Added enumerate_friends function