add variable-term mapping to label