added an map_generator