z displacement exampl