consolidate labeling functions