creating indexes is now based on chaining
test for sqlite