add attr_reader for items