changed regression function names