Abstract get municipality info to separate function