add comments and external grep tool