What this function does, and it's name don't seem to correspond.