check results refactor