I feel like the comment of this function is not up to date anymore.