add network connect function for relationships