cleaned up newnetwork package