Working through scopes and realizing we should distinguish funtions from vars