added shapefile code