add pw attr_accessor