Common construction methods often produce building enclosures with a poor thermal boundary, requiring an insulation and air barrier system designed to retain indoor environmental conditions while resisting external environmental conditions. The energy-efficient, heavily sealed architecture introduced in the 20th century also sealed off the movement of moisture, and this has resulted in a secondary problem of condensation forming in and around walls, which encourages the development of mold and mildew. Additionally, buildings with foundations not properly sealed will allow water to flow through the walls due to capillary action of pores found in masonry products. Solutions for energy-efficient buildings that avoid condensation are a current topic of architecture.