one pattern page change; add a rekursion function to parse yaml file