add scopes for ordering