completed exercise 6-6
completed exercise 6-7