rnd week-1 revised ans for question 4