results refactor