A "funduq" (also spelled "foundouk" or "fondouk"; ) was a caravanserai or commercial building which served as both an inn for merchants and a warehouse for their goods and merchandise. In Morocco some funduqs also housed the workshops of local artisans. As a result of this function, they also became centers for other commercial activities such as auctions and markets. They typically consisted of a large central courtyard surrounded by a gallery, around which storage rooms and sleeping quarters were arranged, frequently over multiple floors. Some were relatively simple and plain, while others, like the Funduq al-Najjarin (or Fondouk Nejjarine) in Fes, were quite richly decorated.