simplified the layout