also yml_output attr_reader for better encapsulation?