add DB emulator