moved the layout to layout