Title: Modernizing the medieval city