added range selection for step recognition