exercise two for lecture 987417