As I allude to above, I wonder if we should build this into the splines or a helper.