ex6 updated

ex6 updated.