implement name grep