Doesn't this need unit tests?