I know this question was already posted but the answer was a trick to solve the given problem some other way, but the core question remained unanswered.
Not too sure if this is what you want, but let me know if you wanted something different so I can correct my answer. The answer hashtagged is an alternative answer if this is what you were looking for.