added auto judging information