return samples read