It's not at all obvious to me what this does or why it's needed