private void createNodesInt(DefaultMutableTreeNode top) {
	    boolean sectionExists = false;
		DefaultMutableTreeNode section = null;
	    DefaultMutableTreeNode slide = null;
	    for (int i = 1; i < SafetyNet.slideShow.getTree().size(); i++){
	    	// Add elements to slide color based on i with default values
	    	slideColors.add(i, Color.white);
	    	if (SafetyNet.slideShow.getTree().get(i) instanceof QuizSlide){
	    		setColor(i, Color.YELLOW);
	    		if (Debug.sectionNav)System.out.println("Colour set to Yellow");
	    	}

	    	// section
	    	if (SafetyNet.slideShow.getTree().get(i).isSection() == true){
	    		section = new DefaultMutableTreeNode(SafetyNet.slideShow.getTree().get(i));
	    	    top.add(section);
	    	    sectionExists = true;

	    	}else{
	    		slide = new DefaultMutableTreeNode(SafetyNet.slideShow.getTree().get(i));
	    		if(!sectionExists){
	    			//section = new DefaultMutableTreeNode(SafetyNet.slideShow.getTree().get(i));
	    			top.add(slide);
	    		}
	    		else section.add(slide);
	    	}
	    }
	    contentTree.expandRow(0); // opens the "top" level folder (eg safetynet)
	    if(Debug.sectionNav)System.out.println("Tree Updated?");
	}