add z from https://github.com/rupa/z