added temperature model