added value to grouped elements