switched document