added debug statements to SliceReader