networked movement works in cpp