devide each elements as a role.