Just copy code of CR_network to here. (First commit)