assignments 7 & 8