fix in zindex
added some examples.