modified PA_template for peer assignment