shift functions added to emulator