create db early