I don't even know why this works