add logic_thread