created index files and linked them