solved prob 8