added comments, and ex 7