begin to implement scopes