Changed so sensor data have a local copy