switching to new read interface
depending on itr instead of iterator package