added comment about loop into index file