my_attr_accessor functioning correctly