1.4 Creating an emulator