edited the main layout