procee_role_vector updated

trying to get a right weight function for targets