added templates for plotting