added layouts for patterns