Start labeling function.