switched from simply alerting the result to setting the result in the result table.