multiple layers can now be plotted