The Emperor appointed Yan Peifeng as River Inspector to examine the quality of the Wang River dam through both overt inspections and covert investigations, due to concerns about corner-cutting and embezzlement similar to issues on the Xunyang and Jing Rivers.