Expanded the networking code