changed network.coffee format; this way should be better