private boolean downloadPage(String url)
	{
		if (url.contains("+") || url.contains("r/all"))
		{
			isMultiReddit = true;
		}
		else
		{
			isMultiReddit = false;
		}
		boolean isNotDownloaded = true;
		int numNetworkFailures = 0;
		while (isNotDownloaded)
		{
			try
			{
				Document d = Jsoup.connect(url).get();
				htmlString = d.outerHtml();
				isNotDownloaded = false; // you just downloaded it
				System.out.println("Download successful");
				System.out.println();

//				// debug: save the file
//				PrintWriter out = new PrintWriter("downloaded reddit.html");
//				out.print(htmlString);
			}
			catch (Exception e)
			{
				numNetworkFailures++;
				System.out.println("network disconnect: " + numNetworkFailures + " consecutive times");
				if (numNetworkFailures == maximumConsecutiveNoDownloads)
				{
					System.out.println("maximum alowable consecutive network disconnect reached...");
					System.out.println("assuming network unavaialbe, salvaging already downloaded...");
					System.out.println();
					return false;
				}
			}
		}

		return !isNotDownloaded; // isNotDownloaded should be false @ success end -> NOT()
	}