generated main pages