ym in layout