coded up simple network hay