flask leaflet experiments