maxPlayerNumber added