adding 1D cooling functions