second iteration of the Z-stage