added temp controller