Early medieval European longhouses had an open fire under the highest point of the building. The "kitchen area" was between the entrance and the fireplace. In wealthy homes there was typically more than one kitchen. In some homes there were upwards of three kitchens. The kitchens were divided based on the types of food prepared in them. In place of a chimney, these early buildings had a hole in the roof through which some of the smoke could escape. Besides cooking, the fire also served as a source of heat and light to the single-room building. A similar design can be found in the Iroquois longhouses of North America.