One of Shen's greatest achievements, aided by Wei Pu, was correcting the lunar error by diligently recording and plotting the moon's orbital path three times a night over a period of five years.[9] Unfortunately Shen had many political rivals at court who were determined to sabotage his work. The court fully accepted their corrections to lunar and solar error, but only partially adopted Shen and Wei's corrected plotting of the planetary orbital paths and various speeds.