done till exercise 1.11