getRank implemented