adding DPlot methods.