This section is a bit unclear, as you probably want to first state the problem, then that it provides a helper function to solve that problem.