work in progress. trying to make idattr_reader