prototype of main page