sampling when reading