working prototype with ArcGIS