legend completion