taking temperature into account