added a couple of network utils