Added regularized version