fix mistakes in ch 10; add hw