improved regularization example