use attr_reader.