Finished the question 6