public function display($text) {

        // if trimming was desired
        if ($this->trim) {

            // trim any front or ending spaces
            $text = trim($text);
        }

        // if there is no text, no need to continue
        if (strlen($text) == 0) {

            // no need to continue
            return $this;
        }

        // wordwrap to the width of the html screen
        $text = $this->clio->wordwrap($text, $this->clio->getWidth(), false);

        // now get the lines that have been wordwrapped
        $lines = explode("\n",$text);

        // shortcut to the width
        $width = $this->clio->getWidth();

        // start the justified version of the wrapped text
        $justifiedText = "";

        // create an empty line for space after
        $emptyLine = str_pad(" ",$this->clio->getWidth());

        // shortcut
        $numLines = count($lines);

        // go through each line
        for ($i=0; $i<$numLines; ++$i) {

            // get the next line
            $next = $lines[$i];

            // ask Clio to justify the text and pad to the edge
            $justifiedText .= $this->clio->justify($next,"left",$width) . "\n";

            // if this is not the last line
//            if ($i < ($numLines-1)) {
//
//                // add a new line (the last one is left for space after
//                $justifiedText .= "\n";
//            }n


        }

        // now display the text
        $this->displayWithStyling($justifiedText);

        $this->nl($this->spaceAfter);
        
        // chaining
        return $this;
    }