edited display() for ControllerClass.java