solved prob 30