use attr_reader