added creation of pointmaps