starting emulation