add gRank code back to leagues