restructure main page