main layout modified