add the old C code for lasso