changed players() to getPlayers()