move network.h to top