adding exercise 8