updates to template for testing with 2 plots