debugged hw1