worked on exam exercise 1 b