add support for index page