add the rest of network functions