How Buildings Work