changed the role from name to rid