Modified the XOPlayers function.