allow multiple ranges to be used at once