Outside the main building, the minarets were repaired and altered so that they were of equal height.[102] A clock building, the Muvakkithanesi was built by the Fossatis for the use of the muwaqqit (the mosque timekeeper), and a new madrasa (Islamic school) was constructed. The Kasr-ı Hümayun was also built under their direction.[2] When the restoration was finished, the mosque was re-opened with ceremonial pomp on 13 July 1849.[citation needed] An edition of lithographs from drawings made during the Fossatis' work on Hagia Sophia was published in London in 1852, entitled: Aya Sophia of Constantinople as Recently Restored by Order of H.M. The Sultan Abdulmedjid.[101]