Such devices were in use until the eighth century. In the Song Dynasty, Shen Kuo described the floating compass, suspended in water, a technique which minimized the effect of motion on the instrument.