assignments 9 and 10