added getPlayers method