attr_accessors to instance vars