added question 2 solutino