interpreter in main thread