added yaml function call to imports