myFriends object array function