added simple regression, need test