liner and recursive search added