Started work on emulator.