more emulation added