debug not fixed
hw3 part 3: it works