made attr_reader private