make a structure of main page