also suppert record ranges now