Add .getRank method code, but unsed.