Attics & basements are two main areas of air leakage, so air sealing is as important as proper amounts of insulation. Spray foam is an effective way to reduce air loss and add R-value at the same time.