done with exercise 6