some more basic network functions