HW 6, 7, 8, 9