added temperature controller