added response debug logging