added labels and parameter groups to template