private void viewWords() {
		try {
			Statement stmt = conn.createStatement();
			ResultSet results = stmt.executeQuery("select * from  words");
			ResultSetMetaData rsmd = results.getMetaData();
			int numberCols = rsmd.getColumnCount();
			for (int i = 1; i <= numberCols; i++) {
				// print Column Names
				System.out.print(rsmd.getColumnLabel(i) + "\t\t");
			}

			System.out
					.println("\n-------------------------------------------------------------");

			while (results.next()) {
				String word = results.getString(1);
				long procTime = results.getLong(2);
				boolean parity = results.getBoolean(3);
				int batch_id = results.getInt(4);
				System.out.println(String.format("%-20s", word) + "\t"
						+ procTime + "\t\t" + parity + "\t\t" + batch_id);
			}
			results.close();
			stmt.close();
		} catch (SQLException sqlExcept) {
			sqlExcept.printStackTrace();
		}
	}