created index and early structure