working index page and entry pages