The Sui dynasty (581–618 AD) added some other parts. Between 1271–1633, the Yuan dynasty (through Guo Shoujing and others) and the Ming dynasty improved it and built parts to direct water to Beijing. 