range should be optional

you're right, will merge this, thank you :p