applying molten material to the substrate