public function display($dbh = '', $display_db_function = '')
    {
        $this->gatherAll();

        global $rundizProfilerBeautifulIndent;
        $rundizProfilerBeautifulIndent = $this->beautifulIndent;

        // return display views.
        ob_start();
        require __DIR__.DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'display.php';
        $this->reset();
        $output = ob_get_contents();
        ob_end_clean();

        return $output;
    }