State policy has influenced the funding of public works and science for thousands of years, dating at least from the time of the Mohists, who inspired the study of logic during the period of the Hundred Schools of Thought, and the study of defensive fortifications during the Warring States period in China. General levies of labor and grain were collected to fund great public works in China, including the accumulation of grain for distribution in times of famine,[1] for the building of levees to control flooding by the great rivers of China, for the building of canals and locks to connect rivers of China, some of which flowed in opposite directions to each other,[2] and for the building of bridges across these rivers. These projects required a civil service, the scholars, some of whom demonstrated great mastery of hydraulics.