hw9 working