prob 4 solved