Use variables defined above
Explain check (now that I understand why its needed)