change format of main page