newton iterations work now