changed to using leaflet