filter by cword and refactoring