Renamed variable from sample2 to sample.