homeowrk 6 updated