Added debug print for response