allow range selection (fixes #80)