private function showVariable($name, $sanitize = false) {
        if (isset($this->data[$name])) {
            if ($sanitize) {
                echo htmlentities($this->data[$name]);
            } else {
                echo $this->data[$name]; 
            }
        } else {
            echo '{' . $name . '}';
        }
    }