public function fetch($return = false)
    {
        switch ($this->library) {
            case 'phptal':
                // execute the template
                try {
                    $buffer = $this->execute();
                    if ($return === true) {
                        return $buffer;
                    } else {
                        echo $buffer;
                    }
                } catch (Exception $e) {
                    // repack
                    throw new Doozr_Exception($e);
                }
                break;
        }

        return null;
    }