got z changes initially working