Changing orientation of the substrate