add GrepProcess and checking threads' completeness