public function display($text) {

        // prepare the text for the particular style of text
        // if it returns false, the text is bad
        if (!$this->prepareText($text)) {

            // chaining
            return $this;
        }

        // justify the text
        $text = $this->clio->justify($text, $this->justification);

        // create the specified number of lines before
        if ($this->spaceBefore > 0) {

            //  move down the space before number of lines
            $this->clio->newLine($this->spaceBefore);
        }

        // calculate any empty lines needed to create the height
        $top = $bottom = 0;

        // if there was anything higher than one requiring empty styled lines
        if ($this->height > 1) {

            // take off the actual title line
            $spaces = $this->height - 1;

            // the top will be the base value of dividing by two
            $top = intdiv($spaces,2);

            // the bottom will be that base value + the remainder
            $bottom = intdiv($spaces,2) + ($spaces % 2);
        }

        // set up the styling
        $this->clio->style($this->style);

        // display any empty lines needed above the title for the height
        $this->displayEmptyLines($top);

        // display the title text
        $this->clio->line($text);

        // display any empty lines needed below the title for the height
        $this->displayEmptyLines($bottom);

        // clear the formatting
        $this->clio->clear();

        // if there is space after
        if ($this->spaceAfter > 0) {

            // display the space after
            $this->clio->newLine($this->spaceAfter);
        }


        // chaining
        return $this;
    }