added regularization, converging