changed output of sampleObstruction