Adding backend for question 2