findInfix is used only in one function