adding peer assignment code changes