Part of Hartl Chapter 10 that didn't get pushed for some reason