solved the layout