adding stuff related to the new leaflet controller