refactoring db driver part