solved prob 12