adding exercise 6