created the initial index page for p1