Removed the unnecessary yaml method
Removed the console.log