try algo with debug2