use attr_accessor getter and setter methods