add field 'index' to Diamond