using local emulator