thoughtFactory debug