added roles and orientation rules