Finished part of question 5.