added understanding scopes