Added network bits. Almost there.