try algo with debug6