What are the roles of the court system