changed direction of z orientation