added layout for main