added emulator offline