Changed samples to sample