first attempt to integrate db init