completed hw 7 on wens 10/1/14