refactor: select just elements that contain words