making createIndexIfNotCreated(String) private