Cooling of the substrate