municipal corporations functioning