Changed to dynamic number of players support