What purpose does repairing a foundation serve?