HW2 (legacy hw1) done