added index for friends