map_gen added