added the mouse emulator