removed temperature sensor section of code since I am not using a temp sensor