conditional works for roles