added Jay's floor emulator