of the substrate or of a layer on the substrate