fixed up network module example in Main function