added alreadyfriends conditional