updated z in master branch