added get_range_groups