printing items to index page