add process grep function, whitespace