Abstract: This invention relates to methods of depositing piezoelectric films such as in part of a stack including depositing a piezoelectric layer, measuring the thickness of the layer and depositing a further film or films such that the combined thickness is substantially equal to the target thickness.