@Override
    public List<Vector> getRegisteredModules(String matricNum) {
        studentEntity = lookupStudent(matricNum);
        List<Vector> modulesReg = new ArrayList<>();
        for (ModuleEntity m : studentEntity.getModules()) {
            Vector modsReg = new Vector();
            modsReg.add(m.getModuleTitle());
            modsReg.add(m.getModuleCode());
            modsReg.add(m.getTime());
            modsReg.add(m.getVenue());
            modsReg.add(m.getSynopsis().getContent());
            modsReg.add(m.getLecturer().getTitle() + " " + m.getLecturer().getName());
            List<String> tutGrps = new ArrayList<>();
            List<String> tutDesc = new ArrayList<>();
            for (TutorialEntity t : m.getTutorials()) {
                tutDesc.add("Group " + t.getGroupNumber() + ": "
                        + t.getTime() + " at " + t.getVenue() + " by " + t.getTutor().getName());
                tutGrps.add(t.getGroupNumber());
                tutGrps.add(t.getTime());
            }
            modsReg.add(tutDesc);
            modsReg.add(tutGrps);
            modulesReg.add(modsReg);
        }
        return modulesReg;
    }