While approaches differ widely, competition is most frequently introduced in generation and marketing (also known as retail). Competition in distribution is limited for the reasons outlined above. As such, government agencies are tasked with ensuring that the quality meets community expectations and prices are kept at acceptable levels. If investment is inadequate to meet demand then customers will experience electricity shortage and rationing of electricity.