edge case resolved in setFriends