add note to grep() instead of using `if/else empty`