basic structure of layout