add getResults to factory