Adding index2 and main2 files