db completely restructured