regression works, not in a function yet