change grep to faster for