generic RngSet