Roles and responsibilities of trial judges