findi helper function