public ArrayList<String> returnOutput() {
		try{
        	openDatabase();
		}catch(Exception e){}
		String query = "SELECT * FROM t8005t2 .output";
		ArrayList<String> output = new ArrayList<String>();
		try {
			stmt = conn.createStatement();
			ResultSet rs = stmt.executeQuery(query);
			while (rs.next()) {
				String moduleID = rs.getString("moduleID");
				int examLength = rs.getInt("examLength");
				int time = rs.getInt("time");
				String room = rs.getString("room");
				String date = rs.getString("date");
				output.add(moduleID);
				output.add(""+examLength);
				output.add(""+time);
				output.add(room);
				output.add(date);
			}
		} catch (Exception e) {
			System.err.println("Problem executing returnOutput query");
			System.err.println(e.getMessage());
		}
		try{
        	closeDatabase();
		}catch(Exception e){}
		return output;
	}