move start_time to seek_time inside the loop