changing format of main container