Modified label logic.