Adding rank to teams