period's scope (and the label didn't show this) + extract ScopeRepository and create ScopeRepositoryInterface