Adding average temperature program