Make rank a val