[FE] Labeling function