implementation cleanup for lasso