I have no idea what this does, but somehow it seems to work.