begin Hand.rank