change order of generating yun