renamed network to friendships because of weird error