prob 2&3