tuning the machine with the sensor