changed axis to z