add function to delete existing netw