temp controller is working as expected