by varying the heating or cooling