added panels to template