added missing createIndex commdans