Roles and responsibilities of judge