add network functionality