unregularized gradient done