moved ->results into Result class/object