added comments to exercise 6