adding yaml mode