some changes to create_gossip