debug with the result set