Define base layout index