generalize to a function?
generalizing. I think.