HW 8 p2. done