move callbacks to the network class