    document.getElementById('reference').value = measure.reference || '';
            document.getElementById('keywords').value = (measure.keywords || []).join(', ');
            document.getElementById('items').value = measure.items || '';
            document.getElementById('waves').value = (measure.waves || []).join(', ');
            
            // Handle values
            renderValues(measure.values || []);
            
            renderMeasuresList();
        }

        function renderValues(values