An analysis of local government finance