commit solution for question 1.1