updated for new yml_reader