more changes for plotting CS