created the layout