updated for netplay