Search and masks and tools (tools are not tested and may have bugs)