add begin doc to diagrams for cs, remove spurious 1