added main layout