Allocation of roles