Working on the Main Layout