working again with the emulator