Earlier we discussed the importance of understanding a different routine scope and context with regards to troubleshooting. So now that we have a really solid understanding of the difference between the two, let's apply that knowledge in some code examples and see how it can help us solve problems.