changed the function: role_config