made changes to geojson_generator func