Made some changes for part d.