hw3 working