started from scratch, moving to leaflet