support for multiple ranges. doesn't really work
revert to old style
cleanup