answered exercise 2 from u7