formatting of main spacing