More work on the temp controller