As one of the primary functions of government, legislation serves as a regulatory framework for rights and responsibilities of individuals and agencies. Legislation can also serve as a framework for the provision and regulation of funding. Legislation is most effective when there is clear enforcement and translation into daily practice at the community level.