added homework 8, with patch file