Complete exercise #1-9