the program to run the sensors