Fixes #5 add option "ranges"