main layout is ready