Create index.