merged label and ref