finish return rank of word