use attr_accessor