completed exercise 6-5
completed exercise 6-6