What are the two main roles of the judicial branch