The maintenance and adaptation of buildings