updated to have updated networking code