leaflet working