events refactored to use geojson