adding some networkworking stuff (incomplete)