use that in reader callback