adding dynamic content to index page