also store secondary indexes