Adding Player role attribution function