static public List<ModuleTime> parseModuleTime(String moduleCode) {
		List<ModuleTime> moduleList = new ArrayList<>();

		try (Reader reader = getModuleReader(moduleCode);) {
			HTMLEditorKit.Parser parser = new ParserDelegator();
			HTMLTableParser callback = new HTMLTableParser();
			parser.parse(reader, callback, true);
			System.out.println(callback.dates);
			System.out.println(callback.modules);
			int day = 0;
			for (Iterator<String> it = callback.modules.iterator(); it.hasNext();) {

				String separator = null;
				while (it.hasNext()) {
					if ((separator = it.next()).equals("/"))
						day++;
					else
						break;
				}
				if(!it.hasNext())
					break;
				String startTime = separator;
				String dash = it.next();
				String endTime = it.next();
				String group = null;

				String type = it.next();
				dash = it.next();

				if (!type.equals("LEC")) {
					group = it.next();
				}
				String moduleTeacher = it.next();
				String location = it.next();
				String duration = it.next();

				// create moduletime based on parsing
				ModuleTime moduleTime = new ModuleTime(startTime, endTime);
				moduleTime.setType(type);
				moduleTime.setGroup(group);
				moduleTime.setModuleTeacher(moduleTeacher);
				moduleTime.setRoom(location);
				moduleTime.setDuration(duration);
				moduleTime.setDayInWeek(TTUtils.DAY_IN_WEEK[day]);
				moduleList.add(moduleTime);

			}
			return moduleList;

		} catch (IOException e) {
			System.out.println("Exception occured parsing the TR element");
			e.printStackTrace();
			return moduleList;
		}

	}