save code
optimized multiple ranges
add test case