public function getModel()
    {
        if (preg_match('/^\s+Model Name:\s+(.+)/m', $this->systemProfiler, $m)) {
            return $m[1];
        }

        if (preg_match('/^([a-zA-Z]+)/', $this->sysctl['hw.model'], $m)) {
            return $m[1];
        } else {
            return $this->sysctl['hw.model'];
        }
    }