complete prob4