created base layout