update: update the way of receiving parameter in distinguish.
update: update test case.