completed prob 5