made the index page actually do something