added lbfgs to main