emulator is now working