Commit first three questions.
Since target string is constant through out the function, there's no need to pass it into helper. Remove a redundent val binding in helper.