changed name form main to index