sigh, if there were unit tests this never would have gotten through