public function loadData()
    {
        try {
            LoggerFactory::$file = $this->config['logFile'];
            LoggerFactory::$level = $this->config['logLevel'];
            $data = $this->getDataSync();
            $data->setDefaults();
            $data->cacheDir = $this->config['cacheDir'];
            $data->cacheOnly = $this->config['cacheOnly'];
            $data->dataExpire = $this->config['dataExpire'];
            $data->refreshInterval = $this->config['dataRefresh'];
            $data->forceRefresh = $this->config['forceDataRefresh'];

            // use statussync for non-cache mode
            if (!$data->cacheOnly) {
                $status = $this->prepareSync();
                $data->registerUrlFromStatus($status, 'dataUrls');
            }

            $this->results = $data->loadData();
        } catch (\Exception $e) {
            $this->exceptionStack[] = $e;

            return false;
        }

        return true;
    }