The second approach is more complicated,
That is probably a better approach
However, that approach is not shown in this lesson.
I discuss it on my website.