created answer for p3
hmm problem 4??