Added functionality to answer question 14