try algo with debug3