HW2 working