better DB re-creation