In Heian-period Japanese gardens, built in the Chinese model, buildings occupied as much or more space than the garden. The garden was designed to be seen from the main building and its verandas, or from small pavilions built for that purpose. In later gardens, the buildings were less visible. Rustic teahouses were hidden in their own little gardens, and small benches and open pavilions along the garden paths provided places for rest and contemplation. In later garden architecture, walls of houses and teahouses could be opened to provide carefully framed views of the garden. The garden and the house became one.