Adding exercise 6