checkout out older version of net.cpp cos shit went wrong