implemented general index page