Within the scopes of a massive construction and reconstruction of Belgrade in the Baroque manner, from 1717 to 1731 a present facility was dug and a complex wooden mechanism was installed to lift the water up from the pit of 50 meters .