moved role definition