starting to break network code up so can update more fine-grained