Give this function a better name.