Hw3 working