edit for layout2