changed xunits for roles