adding leaflet capability