added something about sample error