save z as pressure