restruct main page