exercise four for lecture 4475270