changed index param to "ind" to avoid cassandra insert problems in the example.