add snippet grep map