add scopes and trans