removed unnecessary removing of two bits when reading sensor data