Added getresults method