Renamed rid to rids