added attr_accessor