complete prob 345 woot