first approach to the layout