Added The Loop to the index file