ranges, refac