range should be optional
Merge pull request #2 from coderhaoxin/optional-range

range should be optional