Adding exercise-31