Did you choose to not pull this out in to a function and to stop doing the coercion to string values here or just not see my comment?