As in many medieval Islamic cities, the main souk streets of the city typically run from the city's main gates to the area of the city's main mosque: in this case, the Qarawiyyin and, to a lesser extent, the Zawiya of Moulay Idris II and the Mosque of the Andalusians. These mosques, in turn, are located inside or near the city's main commercial and economic zones. The souk streets themselves constitute the main commercial axes of the city and are home to most of its "funduq"s (inns for merchants). As a result, merchants and foreign visitors rarely had need to wander outside these areas and most of the streets branching off them lead only to local residential lanes (often called "derb"s), many of them leading to dead-ends. Even today, tourists are generally found only on these main commercial thoroughfares. The city's most important monuments and institutions are also located on or near its main souk streets. Accordingly, the medina has a cohesive and hierarchical urban structure that can be distinguished on two levels. At a local level, individual neighbourhoods and districts are specialized for residential, commercial, and industrial purposes. On a wider level, the city is organized in relation to major points of importance such as gates and main mosques. At this wider level, there are roughly four main centres of urban activity and organization: one around the Qarawiyin Mosque, one around the Mosque of the Andalusians, another around the Bou Inania Madrasa-Mosque, and the historically separate agglomeration of Fes el-Jdid.