change the layout structure