Added prereading for sensors