@gvaish Renamed setNextResponse to handleNextResponse