debug code for multiple responses added