updated regression stuff