PreDB refactored commit