Added search by mode and line