recoded factors as dummy variables and got lasso to work