main page formatting