Rewrote network.js