logregression works
 from master branch