getting ast's to have their own scopes