Added getResults method.