The technology of building defects