making all the programs to work for sensor data