well, that's just because of how scoping works