judge the code