Two roles of the legislative branch