adding exercise 18.
;