added rank interface