now uses the locations provided in winningLocations