corrected grep