convert default scope to a static attribute rather than a method