prototype of index page