part2 - autolab passed
read one segment each time