updated sensorReader