What are the two primary roles of objectives of the legislative branch