index and main merged
main merged with index