fixed numFound check so it'd actually work