edited main layout