added regularization to configuration