remove Result class and add print_result method