add index option whether to create visual words