Almost finished HW 8