addFriendFunction