gen data set and testing new map method