In late 431, against the advice of his nephew Lu Xuan (盧玄), Cui Hao began a plan to reexamine the ancestry of the officials, believing, as the prevailing thoughts were at the time, that the officials should be ranked in accordance with the honors that their clan had gained in the past. This brought much resentment against Cui. It was also at this time that, at Emperor Taiwu's orders, Cui Hao rewrote criminal laws to try to make the criminal justice system more lenient. However, only several features of the Cui criminal code are referred to in history: