Added YAML function