finished part1 of ex8