Added network tables function in main.