first recursive search implemented