changes to main layouts