slight rearrangement of network