Added extra credit 8e, 10b.