public JComponent createButtons(PippinMachine machine) {
		this.machine = machine;
		machine.addObserver(this);
		
		JPanel retVal = new JPanel();
		retVal.setLayout(new GridLayout(1, 0));
		// create a JPanel called retVal, and give it a new GridLayout with
		// one row
		
		retVal.add(stepButton);
		retVal.add(clearButton);
		retVal.add(rsButton);
		retVal.add(reloadButton);
		// add createCourseButton, deleteCourseButton, createStudentButton,
		// deleteStudentButton, enrollStudentButton to retVal
		// the 5 listeners need to be defined at the end of this class, then
		
		stepButton.addActionListener(new stepListener());
		// add a new CreateCourseListener to createCourseButton
		clearButton.addActionListener(new clearListener());
		// add a new DeleteCourseListener to deleteCourseButton
		rsButton.addActionListener(new rsListener());
		// add a new CreateStudentListener to createStudentButton
		reloadButton.addActionListener(new reloadListener());
		// add a new DeleteStudentListener to deleteStudentButton
		// add a new EnrollStudentListener to enrollStudentButton
		// return retVal;
		return retVal;
	}