leaflet rewriting 30% done