working on the zmapping feature