updated index page and added interactivity