HW9-1 debug