added map to dist