Added an integral factor to keep the temperature stable