working on get_range