Even if it was stylised, drawing gave medieval artists plenty of opportunity to exercise their imaginations. Some of the most inventive drawings appear in the margins of early codices and manuscripts, followed later by more developed illustrations. Until the 12th century these texts were mainly produced in monasteries, where the scribe and illuminator worked in a special area called a scriptorium. By the 14th century, commercial scriptoria had sprung up in large cities like Paris and Bruges where illuminators produced large numbers of legal and liturgical books as well as Books of Hours for the devotions of private patrons.