This doesn't need to be public if it is only visible for testing