all of hw3 working