simplfied networkutils api a little