simplified range selection
added simple time measurement