you could remove numResults variable