validation added
#rank
#rank renamed into #get_rank