The introduction of Buddhism in Japan during the sixth century was a catalyst for large-scale temple building using complicated techniques in wood. Influence from the Chinese Sui and Tang dynasties led to the foundation of the first permanent capital in Nara. Its checkerboard street layout used the Chinese capital of Chang'an as a template for its design. A gradual increase in the size of buildings led to standard units of measurement as well as refinements in layout and garden design. The introduction of the tea ceremony emphasised simplicity and modest design as a counterpoint to the excesses of the aristocracy.