add rank and rank diff