support range_t.