result method in match class