Libraries take on range of services despite stagnant state funds