TPO-emulator by Yu Jun