add rank operator