Changes the index creation to fit the strcuture discussed in the assignment report