special cases added : RBR, RNR, RB, RN